package com.ctshk.rpc.order.bus.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 巴士收款明细
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-24
 */
@Data
@ApiModel(value="BusOrderCollectionDTO", description="巴士收款明细")
public class BusOrderCollectionDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "巴士收款明细id")
    private Long id;

    @ApiModelProperty(value = "收款单号")
    private String collectionNumber;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "是否使用pos机")
    private Integer isPos;

    @ApiModelProperty(value = "收款金额")
    private BigDecimal collectionAmount;

    @ApiModelProperty(value = "收款币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "收款币种")
    private String currency;

    @ApiModelProperty(value = "是否银联优惠")
    private Integer isUnionpayDiscount;

    @ApiModelProperty(value = "银联优惠id")
    private Long unionpayDiscountId;

    @ApiModelProperty(value = "收款方式ID")
    private Long collectionWayId;

    @ApiModelProperty(value = "收款方式")
    private String collectionWay;

    @ApiModelProperty(value = "付款方")
    private String payer;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "收款凭证JSON")
    private String collectionCertificateJson;

    @ApiModelProperty(value = "销售ID")
    private Long salerId;

    @ApiModelProperty(value = "销售姓名")
    private String salerName;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "驳回信息")
    private String rejectInfo;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;
    
    @ApiModelProperty(value = "汇率")
    private BigDecimal exchangeRate;
}
